package com.lotterymanage.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lotterymanage.dao.UserGroupDao;
import com.lotterymanage.domain.UserGroup;
import com.lotterymanage.service.UserGroupService;

/**
 * 用户组service实现类.
 * @author lxz
 * @date Apr 25, 2010
 */
@Service("userGroupService")
public class UserGroupServiceImpl implements UserGroupService {

    @Autowired
    private UserGroupDao userGroupDao;
    /**
     * 查询所有用户组列表.
     * @return list
     */
    public List<UserGroup> findAll() {
        return this.userGroupDao.selectAll();
    }
}
